* {
  margin: 0;
  padding: 0;
}

header {
  width: 100%;
  height: 50px;
  line-height: 50px;
  padding: 0px 10px;
  background: rgba(9, 45, 86, 1);
  color: #fff;
  font-size: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

header .left {
  display: inline-block;
  margin-left: 10px;
}

header .left span {
  line-height: 30px;
  width: 60px;
  color: #93cdff;
  border: 1px solid #60aaff;
  cursor: pointer;
  font-size: 14px;
  display: inline-block;
  text-align: center;
  margin-right: 10px;
  border-radius: 5px;
}

.on {
  color: #fff;
  background: rgba(0, 110, 189, .5);
}

.select {
  display: inline-block;
  height: 50px;
  width: 350px;
  margin: 8px 20px 0 20px;
}

.select select {
  width: 150px;
  height: 35px;
  line-height: 35px;
  position: relative;
  top: -5px;
  border-radius: 5px;
}

.select select option {
  color: #fff;
}

.query-title {
  position: relative;
  top: -8px;
}

header .right {
  /* display: inline-block;
    float: right; */
}

header .right select {
  background: transparent;
  width: 60px;
  height: 30px;
  color: #fff;
  border: 1px solid #fff;
}

header .right button {
  line-height: 30px;
  width: 60px;
  color: #93cdff;
  border: 1px solid #60aaff;
  cursor: pointer;
  font-size: 14px;
  display: inline-block;
  background: rgba(2, 111, 189, 0.2);
  text-align: center;
  margin: 0 10px;
  border-radius: 5px;
}

main {
  width: 100%;
  height: calc(100% - 60px);

  margin-top: 10px;
  background: rgba(9, 29, 69, 0.5)
}

input {
  background: transparent;
  border-width: 0;
  width: 100%;
  height: 100%;
  text-align: center;
}

.pButton {
  height: 30px;
  margin-top: 8px;
}

textarea {
  height: 50px;
  margin-left: 4px;
  padding-left: 2px;
}

textarea {
  resize: none
}

:host /deep/ .ui-dropdown label.ui-dropdown-label, :host /deep/ .ui-dropdown .ui-dropdown-trigger {
  line-height: 35px;
  height: 35px;
}

:host /deep/ .ui-dropdown.ui-widget {
  position: relative;
  top: -10px;
}

:host /deep/ .ui-datepicker.ui-widget .ui-datepicker-calendar {
  line-height: 20px;
}

:host /deep/ .ui-widget-header {
  background: none;
  border: none;
  color: #fff;
}

:host /deep/ .ui-fileupload-content.ui-widget-content.ui-corner-bottom {
  background: none;
  border: none;
}

:host /deep/ .ui-multiselect-items.ui-multiselect-list.ui-widget-content.ui-widget.ui-corner-all.ui-helper-reset .fa-check:before {
  position: relative;
  left: 7px;
}

:host /deep/ .ui-state-highlight {
  /*  background: none; */
}

:host /deep/ .ui-paginator .ui-paginator-page.ui-state-active {
  background: #fba059;
}

:host /deep/ .ui-datatable .ui-datatable-thead > tr > th, :host /deep/ .ui-datatable .ui-datatable-tfoot > tr > td, :host /deep/ .ui-datatable .ui-datatable-data > tr > td {
  padding: 0;
  height: 30px;

}

.ui-datatable .ui-row-toggler {
  color: #fff;
}

:host /deep/ .ui-datatable tbody > tr.ui-widget-content, :host /deep/ .ui-datatable thead > tr.ui-widget-content, :host /deep/ .ui-datatable tfoot > tr.ui-widget-content, :host /deep/ .ui-datatable tbody > tr.ui-widget-content.ui-datatable-odd {
  border: 1px solid #061d34;
}

:host /deep/ tr.ui-widget-content td .ui-widget-content {
  border: 1px solid #225080;
}

:host /deep/ .ui-datatable table {
  border-collapse: collapse;
  width: 100%;
  table-layout: auto;
}

/* thead */

:host /deep/ .ui-datatable th.ui-state-default {
  color: white;
  /* background-color: #9f9b63; */
  background: rgba(155, 145, 83, 0.6);
}

:host /deep/ .ui-datatable tbody > tr.ui-widget-content {
  border: 1px solid #555;
}

:host /deep/ .ui-column-title {
  width: 10px;
  height: 10px;
}

:host /deep/ .ui-dropdown .ui-dropdown-item-empty, :host /deep/ .ui-dropdown .ui-dropdown-label-empty {
  text-indent: 12px;
}

/* th */

:host /deep/ .ui-datatable-tablewrapper .ui-widget-content {
  border: 1px solid #555;
  background: rgba(7, 97, 159, 0.6);
  color: #fff;
  text-align: center;
}

:host /deep/ .ui-datatable tbody > tr.ui-widget-content.ui-datatable-odd {
  border: 1px solid #555;
  /* background: #064e8b; */
  color: #fff;
}

:host /deep/ .ui-datatable .ui-row-toggler {
  color: #fff;
}

/* tfoot */

:host /deep/ .ui-paginator-bottom {
  border: none;
  background: rgba(18, 48, 100, 0.6);
}

:host /deep/ .ui-datatable-thead .ui-state-default {
  border: #555;
  background: none;
  color: #fff;
}

:host /deep/ .ui-datatable tbody > tr.ui-widget-content.ui-state-highlight, :host /deep/ .ui-datatable tbody > tr.ui-widget-content.ui-state-highlight.ui-datatable-odd, :host /deep/ .ui-datatable tbody.ui-datatable-hoverable-rows > tr.ui-widget-content:hover {
  background-color: #225080;
  color: #FFFFFF;
}

:host /deep/ .ui-datatable tbody > tr.ui-widget-content, :host /deep/ .ui-datatable tbody > tr.ui-widget-content.ui-datatable-odd {
  /* background: #334559; */
  background: none;
}

/* :host/deep/ .ui-grid.ui-grid-responsive.ui-fluid {
   background: #102a45;
   border-bottom: 1px solid #225080;
} */

:host /deep/ .ui-grid {
  border: none;
}

:host /deep/ .ui-grid.ui-grid-responsive.ui-fluid input, :host /deep/ .ui-grid.ui-grid-responsive.ui-fluid textarea {
  width: 100%;
  color: #59aec2;
}

:host /deep/ .ui-dialog-footer.ui-widget-content {
  /* background: #fff; */
  color: #000;
  border: none;
}

:host /deep/ .ui-dialog-content.ui-widget-content {
  /* background: #fff; */
  color: #fff;
  border: none;
  border-bottom: 1px solid #555;
}

:host /deep/ .ui-chkbox .ui-state-default {
  border: 1px solid #d6d6d6;
  background: #ffffff;
  color: #555555;
}

.ui-grid-col-4, .ui-grid-col-10 {
  text-align: left;
  color: #BAF1FF;
}

.ui-grid-row {
  border-bottom: 1px solid #225080;
  line-height: 30px;
}

.ui-grid-col-2 {
  text-align: right;
}

.ui-grid-col-11 {
  text-align: left;
}

:host /deep/ .ui-datatable table {

  table-layout: fixed;
}

:host /deep/ .ui-datatable table tr td, :host /deep/ .ui-datatable table tr th {
  overflow: hidden;
  text-overflow: ellipsis;
}

:host /deep/ .ui-datatable .ui-datatable-tfoot:nth-child(2) > tr > td, :host /deep/ .ui-datatable .ui-datatable-data > tr > td:nth-child(2) {
  text-align: left;
  padding-left: 10px;
}

#ex, #ex2 {
  line-height: 30px;
  padding: 0 10px;
  color: #FFFFFF;
  background: #2399e5;
  cursor: pointer;
  font-size: 16px;
  display: inline-block;
  text-align: center;
  margin: 0 10px;
  border-radius: 4px;
  margin-top: 8px;
}

.button {
  color: #000;
  background: #91cdff;
  width: 58px;
  height: 30px;
  border: none;
  line-height: 30px;
  cursor: pointer;
}

input[type="number"] {
  display: inline-block;
  width: 40px;
  height: 30px;
  text-align: center;
  background: rgba(9, 29, 69, 0.7);
  color: #fff;
  border: 1px solid #91cdff;
  margin: 0 5px;
}

option {
  background: rgba(9, 45, 86, 1);
}

:host /deep/ .ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-shadow.ui-dialog-draggable.ng-trigger.ng-trigger-dialogState {
  background: rgba(7, 97, 159, 1);
  color: #fff;
}

:host /deep/ .ui-dialog-title, :host /deep/ .ui-confirmdialog-message, :host /deep/ .ui-dialog-content.ui-widget-content .fa {
  color: #000;
}

:host /deep/ .ui-dialog-titlebar {
  border: 1px solid #d9d9d9;
  background: #f6f7f9;
  color: #1b1d1f;
  font-weight: normal;
}

i {
  font-style: normal;
}
